Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAHOUT-454 Notebook Testing #462

Merged
merged 6 commits into from
Sep 5, 2024
Merged

MAHOUT-454 Notebook Testing #462

merged 6 commits into from
Sep 5, 2024

Conversation

rawkintrevo
Copy link
Contributor

Purpose of PR:

Please give a short description of what this PR is for.

Important ToDos

Please mark each with an "x"

  • A JIRA ticket exists (if not, please create this first)[https://issues.apache.org/jira/browse/mahout/]

  • Title of PR is "MAHOUT-XXXX Brief Description of Changes" where XXXX is the JIRA number.

  • Created unit tests where appropriate

  • Added licenses correct on newly added files

  • Assigned JIRA to self

  • Successfully built and ran all unit tests, verified that all tests pass locally.

If all of these things aren't complete, but you still feel it is
appropriate to open a PR, please add [WIP] after MAHOUT-XXXX before the
descriptions- e.g. "MAHOUT-XXXX [WIP] Description of Change"

Does this change break earlier versions?

Is this the beginning of a larger project for which a feature branch should be made?

Evidence of successful run:
https://github.com/apache/mahout/actions/runs/10724164981

@rawkintrevo rawkintrevo linked an issue Sep 5, 2024 that may be closed by this pull request
Copy link
Contributor

@andrewmusselman andrewmusselman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this run all notebooks and just throw an error if there are any problems?

@rawkintrevo
Copy link
Contributor Author

in it's current implementation- the test fails if any cell in any notebook fails- it is possible w/o much extra effort to layer in a testing framework (ie pytest) but i didn't realize we had that already in, or understand enough about it, i would make "add pytest to notebook tests' a follow on issue

@rawkintrevo
Copy link
Contributor Author

or, discussion point- add tests in pytest for the notebooks

@andrewmusselman andrewmusselman merged commit a414865 into main Sep 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests for notebooks
2 participants